﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Perfil_Usuarios.aspx.cs" Inherits="Recetas_Web.Perfil_Usuarios" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            height: 107px;
            width: 97px;
        }
        .style2
        {
            width: 265px;
            height: 107px;
            font-weight: 700;
        }
        .style3
        {
            width: 468px;
            height: 145px;
        }
        .style4
        {
            height: 145px;
        }
        .style5
        {
            height: 171px;
            width: 24%;
            margin-top: 5px;
        }
        .style6
        {
            width: 132px;
            height: 107px;
            font-weight: 700;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 style="text-align: center; font-size: 26pt; font-family: Arial;">
        MI PERFIL</h1>
    <div style="height: 643px; width: 879px; margin-left: 113px; margin-right: 0px; position: relative; top: 4px; left: 3px;" 
        align="left">
        <br />
        <table style="width: 64%; height: 97px; margin-left: 150px;" align="center">
            <tr>
                <td align="left" class="style3">
                    <div style="border: thin solid #808080; width: 421px; height: 193px; margin-left: 2px; background-color: #FFFFFF; margin-bottom: 0px;">
                        <table style="width: 99%; height: 186px; margin-top: 3px; margin-left: 4px;">
                            <tr>
                                <td align="left" class="style5">
                                    <asp:Image ID="ImagePerfil" runat="server" Height="109px" 
                                        ImageUrl="~/Imagenes/icono_perfil.png" Width="91px" 
                                        style="margin-top: 0px" />
                                </td>
                                <td class="style6">
                                    <asp:Label ID="lblNombreApellido" runat="server" 
                                        
                                        style="font-size: x-large; font-weight: 700; font-family: Arial; text-align: left"></asp:Label>
                                    <br />
                                    <br />
                                    <span style="font-family: Arial"><strong>Usuario: </strong>
                                    <asp:Label 
                                        ID="lblUsuario" runat="server" Font-Bold="False"></asp:Label>
                                    </span>
                                    <br />
                                    <br />
                                    <span style="font-family: Arial"><strong>Email: </strong>
                                    <asp:Label 
                                        ID="lblMailUsuario" runat="server" Font-Bold="False"></asp:Label>
                                    </span>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td class="style4">
                    <div style="border: thin solid #808080; height: 193px; width: 121px; margin-left: 5px; background-color: #FFFFFF;">
                        <br />
                        <br />
                        <br />
                        <asp:Button ID="btnEditarPerfil" runat="server" 
                            style="text-align: center; margin-left: 4px" Text="Editar Perfil" 
                            Width="115px" onclick="btnEditarPerfil_Click" />
                        <br />
                        <br />
                        <asp:Button ID="btnCambiarClave" runat="server" 
                            style="text-align: center; margin-left: 4px" Text="Cambiar Clave" 
                            Width="115px" onclick="btnCambiarClave_Click" />
                    </div>
                </td>
            </tr>
        </table>
        <br />
        <asp:Label ID="lblMisRecetas" runat="server" Font-Size="X-Large" 
            Font-Underline="True" 
            style="font-size: x-large; color: #808080; font-weight: 700; font-family: Arial">MIS RECETAS</asp:Label>
        <br />
        <br />
    <asp:GridView ID="gvMisRecetas" runat="server" BackColor="White" 
        BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="4" 
        ForeColor="Black" GridLines="Horizontal" style="text-align: center" 
        AllowPaging="True" DataKeyNames="CodReceta" 
            onselectedindexchanging="gvMisRecetas_SelectedIndexChanging">
        <Columns>
            <asp:BoundField />
            <asp:CommandField HeaderText="Ver Receta" InsertText="Mostrar" 
                ShowSelectButton="True" SelectText="Ver" >
            <ControlStyle BorderColor="#3399FF" ForeColor="#3399FF" />
            </asp:CommandField>
        </Columns>
        <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F7F7F7" />
        <SortedAscendingHeaderStyle BackColor="#4B4B4B" />
        <SortedDescendingCellStyle BackColor="#E5E5E5" />
        <SortedDescendingHeaderStyle BackColor="#242121" />
    </asp:GridView>
        <br />
    </div>
</asp:Content>
